package com.quectel.core.module.forum.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author bob
 * @email bob.yu@quectel.com
 * @date 2023/05/10 11:21
 */
@Data
@Schema
public class ForumMuteRecordDto implements Serializable {

    /**
    * id
    */
    @Schema(description = "id")
    private Long id;

    /**
    * 租户id
    */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
    * 审核人id（后台审核）
    */
    @Schema(description = "审核人id（后台审核）")
    private Long auditUserId;

    /**
    * 移动端发帖人
    */
    @Schema(description = "移动端发帖人")
    private Long mobileUserId;

    @Schema(description = "封禁备注")
    private String remark;

    /**
    * 开始时间
    */
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    /**
    * 结束时间
    */
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /************非数据库字段 start ************/
    @Schema(description = "审核人-操作封禁人目前为后台用户")
    private String auditUserName;

    /************非数据库字段 end **************/
}
